//
//  DeviceHelper.h
//  uteped_sdk
//
//  Created by mateng on 2024/2/29.
//

#import <Foundation/Foundation.h>
#import <UTEBluetoothRYApi/UTEBluetoothRYApi.h>

NS_ASSUME_NONNULL_BEGIN

@interface DeviceHelper : NSObject

+ (DeviceHelper*)shareInstance;

@property(nonatomic, strong) UTEBluetoothMgr* blueMgr;
@property(nonatomic, strong) UTEDeviceMgr* deviceMgr;

- (void)onDeviceConnected:(NSString*) address;
- (void)onDeviceDisconnect:(NSString*) address;
- (void)putObject:(NSString*) key value:(nullable id) value;
- (id)getObject:(NSString*) key;

- (void)startCheckTimer;
- (void)canelCheckTimer;
@end

NS_ASSUME_NONNULL_END
